/**
 * kig
 * 2006
 */

#include "Util.h"

#ifndef KIG_RAY_H
#define KIG_RAY_H

namespace kig
{
	class Ray
	{
		public:
			/**
			 * Constructor
			 * Ray origin will be (0,0,0).
			 * Ray direction will be (0,0,1).
			 */
			Ray() : pos(0.0, 0.0, 0.0, 1.0), dir(0.0, 0.0, 1.0, 1.0)
			{
				// empty
			}
			
			/**
			 * Constructor
			 */
			Ray(const Vec4& p, const Vec4& d) : pos(p), dir(d)
			{
				// empty
			}

			/**
			 * The Ray origin.
			 */
			Vec4 pos;

			/**
			 * The Ray direction.
			 */
			Vec4 dir;
	};
	
}

#endif

